generation of Test run Report not working any more

Hello All,

Our team was using generalized script for running the Test Run based on the Project Selection.

But now I am not able to run the script anymore. I am attaching the Original Script which was working before and the script which I have edited.

After editing I am able to select the Test Runs but still not able to create the report.I have edited as "Module mod = current" in the edited code so it is verifying for the current module for existence of the attribute which is responsible for Test Run.

Can any one please help in identifying a it is very important to run the reports.


KBSri - Thu May 22 09:43:16 EDT 2014

Re: generation of Test run Report not working any more
llandale - Thu May 22 12:35:41 EDT 2014

You need to be a lot more specific; what do the following mean?

  • "was using" ... "anymore".  Did you migrate to new DOORS clients or server?
  • "not able to run the script": Does it give interpret errors?
  • "not able to create the report": what symptoms?  Does it have a run-time error?

-Louie

Re: generation of Test run Report not working any more
KBSri - Mon May 26 07:18:14 EDT 2014

llandale - Thu May 22 12:35:41 EDT 2014

You need to be a lot more specific; what do the following mean?

  • "was using" ... "anymore".  Did you migrate to new DOORS clients or server?
  • "not able to run the script": Does it give interpret errors?
  • "not able to create the report": what symptoms?  Does it have a run-time error?

-Louie

Hello Louie,

Thanks as always.

1. Nope I did not migrate DOORS Client or Server.

2. When I run the old script in certain modules I am not able to generate the reports in the EXCEL as it was doing previously.But in one of the module I am able to create the reports as usual with the old script.

3. If i click on the Create button after selecting the Test run and the Project I am getting the following run-time error:

-R-E-DXL:<****Report.dxl>unknown Object Attribute(Project Relevancy)

Backtrace:<\*********************\partial_writea_Access/DOORS/addins/****Report.dxl:1299>

 

I am not sure how to rectify this.Now in the modified code I have declared as Module mod = current it is searching for the current module and looking for the necessary attribute for generating the report.But actually there should be two modules for the _requ(Requirement Module) _test(Test Module).These Test Run attributes are fetched only from the Test modules as it is already exiting on those Test modules.

I need to resolve this urgently please.Any help would be greatly appreciated.

 

Re: generation of Test run Report not working any more
llandale - Mon May 26 15:20:24 EDT 2014

KBSri - Mon May 26 07:18:14 EDT 2014

Hello Louie,

Thanks as always.

1. Nope I did not migrate DOORS Client or Server.

2. When I run the old script in certain modules I am not able to generate the reports in the EXCEL as it was doing previously.But in one of the module I am able to create the reports as usual with the old script.

3. If i click on the Create button after selecting the Test run and the Project I am getting the following run-time error:

-R-E-DXL:<****Report.dxl>unknown Object Attribute(Project Relevancy)

Backtrace:<\*********************\partial_writea_Access/DOORS/addins/****Report.dxl:1299>

 

I am not sure how to rectify this.Now in the modified code I have declared as Module mod = current it is searching for the current module and looking for the necessary attribute for generating the report.But actually there should be two modules for the _requ(Requirement Module) _test(Test Module).These Test Run attributes are fetched only from the Test modules as it is already exiting on those Test modules.

I need to resolve this urgently please.Any help would be greatly appreciated.

 

Well, obviously whatever module should have but lacks attribute "Project Relevancy".

I'm guessing you are getting this error during the "read" module statements about line 1273/1279; suggesting the default views have errors in them.

I suppose perhaps the "Test Run" stuff hasn't been configured correctly, possibly there are difference in the versions.

Sorry, I've never used the test run stuff.

Check configuration, add print statements to narrow down exactly where the error is.

-Louie

Re: generation of Test run Report not working any more
KBSri - Fri May 30 07:20:33 EDT 2014

llandale - Mon May 26 15:20:24 EDT 2014

Well, obviously whatever module should have but lacks attribute "Project Relevancy".

I'm guessing you are getting this error during the "read" module statements about line 1273/1279; suggesting the default views have errors in them.

I suppose perhaps the "Test Run" stuff hasn't been configured correctly, possibly there are difference in the versions.

Sorry, I've never used the test run stuff.

Check configuration, add print statements to narrow down exactly where the error is.

-Louie

Yes thanks louie. I have rectified it and now works fine.